﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using XWG;
using XWG.JWBST;
using XWG.JWBST.JWBSTEntity;
using XWG.JWBST.JWBSTBLL;
using XWG.JWBST.JWBSTSPConst;
using XWG.Framework.MSException;
using System.Data;
namespace JWBSTAPP
{
    public partial class TbBstOnlineAskEdit : JWBSTAPP.CommonClass.PageBases
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            if (!IsPostBack)
            {
                BindSelPoliceKind();
            }
        }
        protected void BindSelPoliceKind()
        {
            var list = XWG.JWBST.JWBSTBLL.TbBstDicBLL.GetDictionaryByCode("JZ");
            selCategory.DataSource = list;
            selCategory.DataTextField = "Description";
            selCategory.DataValueField = "Code";
            selCategory.DataBind();
            selCategory.Items.Insert(0, new ListItem("请选择", ""));
            selCategory.Value = "";
        }
    }
}


